home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Shutdown FX 1.5 source Folder / Shutdown FX ƒ / code ƒ / prefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-09  |  1.6 KB  |  45 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        prefs.c
  4.  
  5. Purpose:    This is the header file for prefs.c.
  6.  
  7.  
  8. Shutdown FX -=- graphic effects on shutdown
  9. Copyright (C) 1993-4, Mark Pilgrim & Dave Blumenthal
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. extern    Boolean            gHasFSSpecs;
  29.  
  30. enum        /* possible error codes */
  31. {
  32.     prefs_allsWell=0,                /* no error */
  33.     prefs_diskReadErr,                /* error reading prefs file */
  34.     prefs_diskWriteErr,                /* error writing prefs file */
  35.     prefs_cantOpenPrefsErr,            /* error trying to open prefs file */
  36.     prefs_cantCreatePrefsErr,        /* error trying to create new prefs file */
  37.     prefs_versionNotSupportedErr,    /* prefs file created by later version of program */
  38.     prefs_virginErr,                /* first time, please be gentle */
  39.     prefs_noMorePrefsErr
  40. };
  41.  
  42. void SaveThePrefs(void);
  43. int PreferencesInit(void);
  44. void PrefsError(int err);
  45.